package org.wzh.springmybatis.dao;

import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;
import org.wzh.springmybatis.entity.Teacher;

@Component
public interface TeacherDao {
	
	@Select("select * from teacher where id = #{id}")
	Teacher selectTeacher(int id);
	
}